package models

type SysCourseChapterCompletedRecord struct {
	Model
	StudentId                  int `json:"student_id" gorm:"type:int(10);comment:学员ID"`
	TodayCompletedChapterCount int `json:"today_completed_chapter_count" gorm:"type:smallint(5);default:0;comment:今日完成章节数量"`
	TotalCompletedChapterCount int `json:"total_completed_chapter_count" gorm:"type:smallint(5);default:0;comment:累计完成章节数量"`
	TodayStudyDuration         int `json:"today_study_duration" gorm:"type:smallint(5);default:0;comment:今日学习时长"`
	TotalStudyDuration         int `json:"total_study_duration" gorm:"type:smallint(5);default:0;comment:累计学习时长"`
	ModelTime
}

func (SysCourseChapterCompletedRecord) TableName() string {
	return "sys_course_chapter_completed_record"
}
